package com.hsteach.dao.domain.rota;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.annotation.Excel;
import com.hsteach.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 值班日期明细对象 tb_rota_detail
 * 
 * @author fanxquer
 * @date 2023-10-18
 */
@Data
public class RotaDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 值班表id */
    @Excel(name = "值班表id")
    private Long rotaId;

    /** 值班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "值班日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dutyDate;

    /** 是否归档， 1是，0否 */
    @Excel(name = "是否归档， 1是，0否")
    private Integer fileFlg;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createByName;

    /** 机构号，数据隔离 */
    @Excel(name = "机构号，数据隔离")
    private String orgCode;

    /** 删除状态 1有效 0删除 **/
    private Integer delStatus;

    private Long count;

    private Date beginDate;

    private Date endDate;

}
